package com.py.custom.business.demo.core.service.model;

import com.py.custom.business.demo.protocol.groups.StudentGroup;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * description：
 *
 * @author pengyou
 * @version 1.0.0
 * @date 2021/10/23
 */
@Data
public class StudentDTO {

    private Long id;

    @NotNull(message = "名称不能为空", groups = {StudentGroup.DefaultGroup.class})
    private String name;

    private Date createTime;

    private Date updateTime;
}
